package action;

import model.EstpInfo;
import action.base.BaseAction;

public class GetEstpAction extends BaseAction {
	private Integer estpId;
	private EstpInfo itemEstp;
	public Integer getEstpId() {
		return estpId;
	}
	public void setEstpId(Integer estpId) {
		this.estpId = estpId;
	}
	public EstpInfo getItemEstp() {
		return itemEstp;
	}
	public void setItemEstp(EstpInfo itemEstp) {
		this.itemEstp = itemEstp;
	}
	public String execute() throws Exception{
		setItemEstp(mge.getEstpById(estpId));
		return "success";
	}
}
